package xiao.ze.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import xiao.ze.demo.entity.Course;
import xiao.ze.demo.entity.SelCourseTerm;

import java.util.List;
import java.util.Map;

/**
 * CourseMapper
 *
 * @author xiaoze
 * @date 2018/6/3
 */
@Mapper
public interface CourseMapper {
    int addCourse(Course course);

    List<Course> selAllCourse();

    Course selCourseNo(String no);

    List<Course> selCourse(SelCourseTerm courseTerm);

    int delCourse(String no);

    int upCourse(Course course);
}
